<template>
	<view class="no-data" :style="{'paddingTop': top + 'rpx'}">
		<image :src="noMessageIcon" mode="aspectFit" class="img"></image>
		<text>暂无数据</text>
	</view>
</template>

<script>
	import imgSrc from '../../utils/imgUrl.js';
	export default{
		props: {
			top: {
				type: Number,
				default: 100
			}
		},
		data() {
			return {
				noMessageIcon: imgSrc.noMessageIcon
			}
		}
	}
</script>

<style scoped>
	.no-data{
		display: flex;
		flex-direction: column;
		align-items: center;
		color: #777777;
		font-size: 28rpx;
	}
	.img{
		width: 266rpx;
		height: 156rpx;
		margin-bottom: 34rpx;
	}
</style>
